<div class="<?php echo $include_file;?>">
<form action="index.php?c=bookmanage&a=insert" method="post">
	<p><span>条  形  码</span><input type="number" name="barcode" value="" /> </p>
	<p><span>图书名称</span><input type="text" name="bookname" value="" /> </p>
	<p><span>图书类型</span>
		<select name="typeid">
			<option value="">**请选择**</option>
			<?php foreach($booktypes as $booktype):?>
				<option value="<?echo $booktype['id']?>"><?echo $booktype['typename']?></option>
			<? endforeach;?>
		</select>
	</p>
	<p><span>作　　者</span><input type="text" name="author" value="" /> </p>
	<p><span>译　　者</span><input type="text" name="translator" value="" /> </p>
	<p><span>出  版  社</span>
		<select name="ISBN">
			<option value="">**请选择**</option>
			<?php foreach($publishings as $publishing):?>
				<option value="<?echo $publishing['ISBN']?>"><?echo $publishing['pubname']?></option>
			<? endforeach;?>
		</select>
	</p>
	<p><span>价　　格</span><input type="number" name="price" value="" /> </p>
	<p><span>页　　码</span><input type="number" name="page" value="" /> </p>
	<p><span>书　　架</span>
		<select name="bookcase">
			<option value="">**请选择**</option>
			<?php foreach($bookcases as $bookcase):?>
				<option value="<?echo $bookcase['id']?>"><?echo $bookcase['name']?></option>
			<? endforeach;?>
		</select>
	</p>
	<p><span>库存数量</span><input type="number" name="storage" value="" /> </p>
	<p><input type="submit" value="提交"/><input type="reset" value="清空"/></p>
</form>
</div>

